package com.sq.partner.manager.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletResponse;

import com.sq.partner.manager.mybatis.model.GatewayChannelInfo;
import com.sq.partner.manager.util.Page;

/**
 * 车险保单查询Controller
 * @author menyanlei
 *
 */
public interface IGatewayCarPolicyListService {

	/**
	 * 分页条件查询车险保单信息
	 * @param page
	 * @return
	 * @throws Exception
	 */
	public Page queryCarPolicyPageByCriteria(Page page) throws Exception;

	/**
	 * 条件查询车险保单信息
	 * @param page
	 * @return
	 * @throws Exception
	 */
	public List<Map<String,Object>> queryCarPolicyListByCriteria(Map<String,Object> map) throws Exception;

	/**
	 * 车险保单信息导出
	 * @param nocarPolicyList
	 * @throws Exception
	 */
	public void downloadCarPolicyFile(List<Map<String,Object>> carPolicyList,HttpServletResponse response) throws Exception;

	/**
	 * 根据所选机构获取其下的合作伙伴集合
	 * @param channelInfo
	 * @return
	 * @throws Exception
	 */
	public List<Map> queryChannelListOfNocar(GatewayChannelInfo channelInfo,String flag)throws Exception;
}
